package com.colorful.insuranceproject.bean;

import com.lovely3x.jsonparser.annotations.JSONArray;

import java.util.List;

/**
 * Created by handsome-Bob on 2017/10/29.
 * <p>
 * 获取首页数据
 */
public class HomeBean {

    private List<String> banners;

    @JSONArray(object = HealthInfoBean.class, value = "articles")
    private List<HealthInfoBean> articles;

    public HomeBean() {
    }

    public HomeBean(List<String> banners, List<HealthInfoBean> articles) {
        this.banners = banners;
        this.articles = articles;
    }

    public List<String> getBanners() {
        return banners;
    }

    public void setBanners(List<String> banners) {
        this.banners = banners;
    }

    public List<HealthInfoBean> getArticles() {
        return articles;
    }

    public void setArticles(List<HealthInfoBean> articles) {
        this.articles = articles;
    }

    @Override
    public String toString() {
        return "HomeBean{" +
                "banners=" + banners +
                ", articles=" + articles +
                '}';
    }
}
